<?php
$this->breadcrumbs = array(
    'Users' => array('index'),
    'Manage',
);
?>
<div class="box">
    <header>
        <h5><i class="icon-question icon-large"></i> - Manager question</h5>
    </header>
    <div class="box">

	<?php
	$this->widget('bootstrap.widgets.TbGridView', array(
	    'id' => 'user-grid',
	    'dataProvider' => $model->search(),
	    'filter' => $model,
	    'columns' => array(
		'text',
		array(
		    'name' => 'type',
		    'filter' => Question::getListType(),
		    'value' => function($data) {

			return $data->getType();
		    }
		),
		array(
		    'class' => 'bootstrap.widgets.TbButtonColumn',
		    'template' => '{update} {delete}',
		)
	    ),
	));
	?>
    </div>
</div>